package com.bsj.power.common.def.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Description 设备日运行时长
 * @Author zhaoyang
 * @Date 2024/7/11 15:11
 */
@Data
@TableName("tab_device_duration")
public class DeviceDuration {

    /**
     * 数据库id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Long did;

    private String deviceId;

    private Long durationTime;

    private Date runDate;

}
